import Layout from '@/layout'

const examRouter = [
  {
    path: '/exam',
    component: Layout,
    alwaysShow: true,
    meta: { title: 'exam', icon: 'edit' }, //
    children: [
      {
        path: 'list',
        component: () => import('@/views/exam/ExamList'),
        meta: { title: 'examlist' }
      },
      {
        path: 'edit:id(\S?)',
        component: () => import('@/views/exam/ExamEdit'),
        meta: { title: 'examlist' },
        hidden: true
      },
      {
        path: 'demo_props',
        component: () => import('@/views/demo/demoPropParent'),
        meta: { title: 'demo_props' }
      }


    ]
  }
]
export default examRouter
